package cn.zcq100.Proxp.Demo2;

public class Proxp implements Subject {
private Subject sub;

public Subject getSub() {
	return sub;
}

public void setSub(Subject sub) {
	this.sub = sub;
}

@Override
public void operation1() {
	System.out.print("Proxp:");
	sub.operation1();
	
}

@Override
public void operation2(String str) {
	System.out.print("Proxp:");
	sub.operation2("zcq100");
	
}


}
